

<script>
    var str = '我们都是好孩子'+
        '<img data-v-8d92fef6="" chinese="[微笑]" src="">'+
        '<img data-v-8d92fef6="" chinese="[猥琐]" src="">'+
        '<img data-v-8d92fef6="" chinese="[色情]" src="">'+
        '哈哈'
    var reg = new RegExp('<img.*?chinese="(.*?)" src=".*?">','g')
    var match = str.match(reg)
    console.log(match);
    console.log(RegExp.$1);

    var temp = str.replace(reg,'$1')

    console.log(temp);
</script>